#ifndef WIDGET_H
#define WIDGET_H

#include <QWidget>
#include <QPushButton>
#include <QProgressBar>
#include <QLabel>
#include <QCheckBox>
#include <QThread>
#include "worker.h"

class Widget : public QWidget
{
    Q_OBJECT
    QPushButton *pushButton;
public:
    explicit Widget(QWidget *parent = nullptr);
    ~Widget();
public slots:
    void Img_Show(cv::Mat f);
private:
    QThread workerThread;
    Worker *worker;
};

#endif // WIDGET_H
